const request = require('../../../../../utils/request')

// pages/my/set-up/set-up.js
Page({

    /**
     * 页面的初始数据
     */
    data: { 
        list:[
            
            {name:'用户协议',url:'/pages/mine/pages/my/qualification/index?type=2'},
            {name:'隐私政策',url:'/pages/mine/pages/my/qualification/index?type=3'},
            {name:'关于我们',url:'/pages/mine/pages/my/qualification/index?type=1'},
        ]
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {
       
    },
    toUrl(e) {
        let url = e.currentTarget.dataset.url
        wx.navigateTo({
            url: url,
        })
    },
    //跳转更换手机号码
    change() {
        wx.navigateTo({
            url: '../../my/change-phoneNumber/change-phoneNumber',
        })
    },


    //更改支付密码
    pay() {
        wx.navigateTo({
            url: '../../my/setting-password/setting-password',
        })
    },
    
})